package com.laolang.pluto.common.consts;

/**
 * @author laolang
 * @date 2021-08-14 19:46
 */
public class CommonEntityConst {
    public enum YesNo {
        /**
         *
         */
        NO(0, "否"),
        YES(1, "是");
        private final int value;
        private final String desc;

        YesNo(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }
}
